Made luadata serializer wrap in a table to accept arbitrary datatypes, added JSON serializer