Fix syntax issue ; present on Object property + reindent lines

Three of the `serializer` properties had invalid line endings `;` inside of the `Object` these have been removed.

Furthermore the object closing brace and function closing bracket were incorrectly indented.
Merge pull request #86 from adambutler/patch-1

Fix syntax issue ; present on Object property + reindent lines