Filter out embedding foreign_keys in embedded models, also make some well-known attributes not writable