Replaces type '{}' with 'object'