Convert a string representation of dot-notion key into json format object