Fix remoting types for related models

/to @bajtos 
/cc @ritch