Web services and decimal column type

I have a trouble with rails Web services: "decimal is not a valid base
type". How I can return model objects with decimal column? Should I
create Struct and copy fields from model to this struct? Is there good
solution?