Transform blank arrays to null for consistency over value attributes generated by the form helper