remove a trailing , at the last method in the serializer
Merge pull request #961 from christoph-frick/master

fixed a syntax error (at least for some browsers)