Modified string representation to object