Change hive_fork_manager.get_legacy_style_operation function return type

The following discussion from !60 (merged) should be addressed:

  • @bwrona started a discussion:

    This function should have a scalar result - best directly JSON type

For better performance and use convenience above function should return directly a scalar result.