Leave the names attribute as such on lists

They do not work well as objects if some names are omitted. Better to
keep them in vector form.
Detect the method based on command ending (';' -> voidEval) if not specified
Add tests for serializer