formatting, serverfunction, type parameters for json-object mapping