The SQS system doesn't really care what is in the body as this is something that is defined by your application.
If you want to pass objects through SQS, you will need to serialize them in some format. Any of the following could work: XML, JSON, PHP serialization (You may not want to use this option if you need to send or receive messages in systems that do not use php)