Serialize hal links for nested objects; show optional params when there's any non-empty optional param in hal link editor