fix some template restrictions
unittest serialization of user-type arrays
unittest jsonizing non-trivial accessor properties