various fixes

- fixed toPseudoJSON function empty check
- fixed content box filtering/filtered_list values (issue caused by
taking the values from hook_box instead of content_box)