Added check for restricted fields in streams and resources, also added

server-side creation for some fields