Small update to ContentType and property names

Instead of using ["name"] I used dot notation, and removed contentType
from the request unless defined to prevent any issues.