add binding for items_property
generate middleware
add suppporting code for referenced_child
fix: syntax error