Make Serializer non-static to allow other underlying classes (e.g. for linux)
Allow also arrays and comments
Make config serializable